package com.chzn;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.BeanDefinitionCustomizer;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author houchenkai
 * @Created Date: 2020/10/23 14:23
 * @ClassName
 */

public class MyBeanDefinitionCustomizer implements BeanDefinitionCustomizer {
	@Override
	public void customize(BeanDefinition bd) {
		if ("userService".equals(bd.getBeanClassName())){
			System.out.println("MyBeanDefinitionCustomizer implements BeanDefinitionCustomizer------------");
		}
	}
}
